package com.eastcom.dataquality.ds.smooth;

import java.util.concurrent.BlockingQueue;

import com.eastcom.dataquality.core.dao.DaoFactory;
import com.eastcom.dataquality.ds.wapper.InsertSqlResultDataSwapper;
import com.eastcom.dataquality.ds.wapper.XmlResultDataSwapper;

public abstract class AbsenceSmooth implements Smooth {

	protected InsertSqlResultDataSwapper sqlSwapper;
	
	protected XmlResultDataSwapper xmlSwapper;
	
	protected BlockingQueue<String> smoothMsgQueue;
	
	protected DaoFactory daoFactory;
	
	public void init(){
		sqlSwapper=new InsertSqlResultDataSwapper();
		xmlSwapper=new XmlResultDataSwapper();
	}
	
	public DaoFactory getDaoFactory() {
		return daoFactory;
	}

	public void setDaoFactory(DaoFactory daoFactory) {
		this.daoFactory = daoFactory;
	}
	
	public BlockingQueue<String> getSmoothMsgQueue() {
		return smoothMsgQueue;
	}

	public void setSmoothMsgQueue(BlockingQueue<String> smoothMsgQueue) {
		this.smoothMsgQueue = smoothMsgQueue;
	}
}
